@echo off

for %%f in (C:\232\InfoEd\Database\Functions\Reports\*.sql) do type "%%f" >> "C:\232\InfoEd\Database\fn.sql"
for %%f in (C:\232\InfoEd\Database\ReportObjects\*.sql) do type "%%f" >> "C:\232\InfoEd\Database\misc.sql"
for %%f in (C:\232\InfoEd\Database\StoredProcedures\Reports\*.sql) do type "%%f" >> "C:\232\InfoEd\Database\sp1.sql"
for %%f in (C:\232\InfoEd\Database\StoredProcedures\ReportStoredProcedures\*.sql) do type "%%f" >> "C:\232\InfoEd\Database\sp2.sql"
for %%f in (C:\232\InfoEd\Database\Views\Reports\*.sql) do type "%%f" >> "C:\232\InfoEd\Database\vw.sql"

